
<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module TeamMap</title>
</head><body bgcolor="#f0f0f8">

<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>TeamMap</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/media/disk-1/data/zdstack/trunk/ZDStack/TeamMap.py">/media/disk-1/data/zdstack/trunk/ZDStack/TeamMap.py</a></font></td></tr></table>
    <p></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
    
<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="ZDStack.BaseMap.html#BaseMap">ZDStack.BaseMap.BaseMap</a>(<a href="ZDStack.BaseStatKeeper.html#BaseStatKeeper">ZDStack.BaseStatKeeper.BaseStatKeeper</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="TeamMap.html#TeamMap">TeamMap</a>(<a href="ZDStack.BaseMap.html#BaseMap">ZDStack.BaseMap.BaseMap</a>, <a href="ZDStack.TeamStatKeeper.html#TeamStatKeeper">ZDStack.TeamStatKeeper.TeamStatKeeper</a>)
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="ZDStack.TeamStatKeeper.html#TeamStatKeeper">ZDStack.TeamStatKeeper.TeamStatKeeper</a>(<a href="ZDStack.BaseStatKeeper.html#BaseStatKeeper">ZDStack.BaseStatKeeper.BaseStatKeeper</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="TeamMap.html#TeamMap">TeamMap</a>(<a href="ZDStack.BaseMap.html#BaseMap">ZDStack.BaseMap.BaseMap</a>, <a href="ZDStack.TeamStatKeeper.html#TeamStatKeeper">ZDStack.TeamStatKeeper.TeamStatKeeper</a>)
</font></dt></dl>
</dd>
</dl>
 <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="TeamMap">class <strong>TeamMap</strong></a>(<a href="ZDStack.BaseMap.html#BaseMap">ZDStack.BaseMap.BaseMap</a>, <a href="ZDStack.TeamStatKeeper.html#TeamStatKeeper">ZDStack.TeamStatKeeper.TeamStatKeeper</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt><a href="#TeamMap">TeamMap</a>&nbsp;represents&nbsp;a&nbsp;map&nbsp;in&nbsp;a&nbsp;Team&nbsp;game.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="TeamMap.html#TeamMap">TeamMap</a></dd>
<dd><a href="ZDStack.BaseMap.html#BaseMap">ZDStack.BaseMap.BaseMap</a></dd>
<dd><a href="ZDStack.TeamStatKeeper.html#TeamStatKeeper">ZDStack.TeamStatKeeper.TeamStatKeeper</a></dd>
<dd><a href="ZDStack.BaseStatKeeper.html#BaseStatKeeper">ZDStack.BaseStatKeeper.BaseStatKeeper</a></dd>
<dd><a href="ZDStack.Dictable.html#Dictable">ZDStack.Dictable.Dictable</a></dd>
<dd><a href="__builtin__.html#dict">__builtin__.dict</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="TeamMap-__init__"><strong>__init__</strong></a>(self, number, name)</dt><dd><tt>Initializes&nbsp;a&nbsp;<a href="#TeamMap">TeamMap</a>.<br>
&nbsp;<br>
number:&nbsp;an&nbsp;int&nbsp;representing&nbsp;the&nbsp;number&nbsp;of&nbsp;the&nbsp;map<br>
name:&nbsp;&nbsp;&nbsp;a&nbsp;string&nbsp;representing&nbsp;the&nbsp;name&nbsp;of&nbsp;the&nbsp;map</tt></dd></dl>

<hr>
Methods inherited from <a href="ZDStack.BaseMap.html#BaseMap">ZDStack.BaseMap.BaseMap</a>:<br>
<dl><dt><a name="TeamMap-__eq__"><strong>__eq__</strong></a>(self, x)</dt></dl>

<dl><dt><a name="TeamMap-__gt__"><strong>__gt__</strong></a>(self, x)</dt></dl>

<dl><dt><a name="TeamMap-__lt__"><strong>__lt__</strong></a>(self, x)</dt></dl>

<dl><dt><a name="TeamMap-set_has_flag"><strong>set_has_flag</strong></a>(self, has_flag)</dt><dd><tt>Normally&nbsp;this&nbsp;toggles&nbsp;the&nbsp;'has_flag'&nbsp;flag,&nbsp;but&nbsp;not&nbsp;for&nbsp;maps.</tt></dd></dl>

<hr>
Methods inherited from <a href="ZDStack.TeamStatKeeper.html#TeamStatKeeper">ZDStack.TeamStatKeeper.TeamStatKeeper</a>:<br>
<dl><dt><a name="TeamMap-exportables"><strong>exportables</strong></a>(self)</dt><dd><tt>Returns&nbsp;a&nbsp;list&nbsp;of&nbsp;strings&nbsp;representing&nbsp;exportable&nbsp;attributes.</tt></dd></dl>

<dl><dt><a name="TeamMap-initialize"><strong>initialize</strong></a>(self)</dt><dd><tt>Initializes&nbsp;<a href="ZDStack.TeamStatKeeper.html#TeamStatKeeper">TeamStatKeeper</a>'s&nbsp;stats.</tt></dd></dl>

<dl><dt><a name="TeamMap-set_map"><strong>set_map</strong></a>(self, map)</dt><dd><tt>Sets&nbsp;<a href="ZDStack.TeamStatKeeper.html#TeamStatKeeper">TeamStatKeeper</a>'s&nbsp;map.<br>
&nbsp;<br>
map:&nbsp;a&nbsp;Map&nbsp;instance.</tt></dd></dl>

<dl><dt><a name="TeamMap-set_team"><strong>set_team</strong></a>(self, team)</dt><dd><tt>Sets&nbsp;<a href="ZDStack.TeamStatKeeper.html#TeamStatKeeper">TeamStatKeeper</a>'s&nbsp;team.<br>
&nbsp;<br>
team:&nbsp;a&nbsp;Team&nbsp;instance.</tt></dd></dl>

<hr>
Methods inherited from <a href="ZDStack.BaseStatKeeper.html#BaseStatKeeper">ZDStack.BaseStatKeeper.BaseStatKeeper</a>:<br>
<dl><dt><a name="TeamMap-add_adversary"><strong>add_adversary</strong></a>(self, adversary)</dt><dd><tt>Adds&nbsp;an&nbsp;adversary&nbsp;to&nbsp;frag&nbsp;stats.<br>
&nbsp;<br>
adversary:&nbsp;a&nbsp;string&nbsp;representing&nbsp;the&nbsp;name&nbsp;of&nbsp;an&nbsp;adversary.</tt></dd></dl>

<dl><dt><a name="TeamMap-add_death"><strong>add_death</strong></a>(self, death)</dt><dd><tt>Adds&nbsp;a&nbsp;death&nbsp;to&nbsp;frag&nbsp;stats.<br>
&nbsp;<br>
death:&nbsp;a&nbsp;Frag&nbsp;instance.</tt></dd></dl>

<dl><dt><a name="TeamMap-add_frag"><strong>add_frag</strong></a>(self, frag)</dt><dd><tt>Adds&nbsp;a&nbsp;frag&nbsp;to&nbsp;frag&nbsp;stats.<br>
&nbsp;<br>
frag:&nbsp;a&nbsp;Frag&nbsp;instance.</tt></dd></dl>

<dl><dt><a name="TeamMap-add_rcon_access"><strong>add_rcon_access</strong></a>(self)</dt><dd><tt>Adds&nbsp;an&nbsp;RCON&nbsp;access&nbsp;to&nbsp;stats.</tt></dd></dl>

<dl><dt><a name="TeamMap-add_rcon_action"><strong>add_rcon_action</strong></a>(self, rcon_action)</dt><dd><tt>Adds&nbsp;an&nbsp;RCON&nbsp;access&nbsp;to&nbsp;stats.<br>
&nbsp;<br>
rcon_action:&nbsp;a&nbsp;string&nbsp;representing&nbsp;the&nbsp;name&nbsp;of&nbsp;the&nbsp;action</tt></dd></dl>

<dl><dt><a name="TeamMap-add_rcon_denial"><strong>add_rcon_denial</strong></a>(self)</dt><dd><tt>Adds&nbsp;an&nbsp;RCON&nbsp;denial&nbsp;to&nbsp;stats.</tt></dd></dl>

<dl><dt><a name="TeamMap-add_weapon"><strong>add_weapon</strong></a>(self, weapon)</dt><dd><tt>Adds&nbsp;a&nbsp;weapon&nbsp;to&nbsp;frag&nbsp;stats.<br>
&nbsp;<br>
weapon:&nbsp;a&nbsp;string&nbsp;representing&nbsp;the&nbsp;name&nbsp;of&nbsp;the&nbsp;weapon.</tt></dd></dl>

<dl><dt><a name="TeamMap-export"><strong>export</strong></a>(self)</dt><dd><tt>Exports&nbsp;this&nbsp;player&nbsp;as&nbsp;a&nbsp;dict&nbsp;of&nbsp;info&nbsp;and&nbsp;stats.</tt></dd></dl>

<dl><dt><a name="TeamMap-get_frag_dict"><strong>get_frag_dict</strong></a>(self)</dt><dd><tt>Returns&nbsp;a&nbsp;dict&nbsp;of&nbsp;frag&nbsp;stats.</tt></dd></dl>

<hr>
Methods inherited from <a href="ZDStack.Dictable.html#Dictable">ZDStack.Dictable.Dictable</a>:<br>
<dl><dt><a name="TeamMap-__delattr__"><strong>__delattr__</strong></a>(self, key)</dt></dl>

<dl><dt><a name="TeamMap-__getattr__"><strong>__getattr__</strong></a>(self, key)</dt></dl>

<dl><dt><a name="TeamMap-__setattr__"><strong>__setattr__</strong></a>(self, key, value)</dt></dl>

<hr>
Data descriptors inherited from <a href="ZDStack.Dictable.html#Dictable">ZDStack.Dictable.Dictable</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Methods inherited from <a href="__builtin__.html#dict">__builtin__.dict</a>:<br>
<dl><dt><a name="TeamMap-__cmp__"><strong>__cmp__</strong></a>(...)</dt><dd><tt>x.<a href="#TeamMap-__cmp__">__cmp__</a>(y)&nbsp;&lt;==&gt;&nbsp;cmp(x,y)</tt></dd></dl>

<dl><dt><a name="TeamMap-__contains__"><strong>__contains__</strong></a>(...)</dt><dd><tt>D.<a href="#TeamMap-__contains__">__contains__</a>(k)&nbsp;-&gt;&nbsp;True&nbsp;if&nbsp;D&nbsp;has&nbsp;a&nbsp;key&nbsp;k,&nbsp;else&nbsp;False</tt></dd></dl>

<dl><dt><a name="TeamMap-__delitem__"><strong>__delitem__</strong></a>(...)</dt><dd><tt>x.<a href="#TeamMap-__delitem__">__delitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;del&nbsp;x[y]</tt></dd></dl>

<dl><dt><a name="TeamMap-__ge__"><strong>__ge__</strong></a>(...)</dt><dd><tt>x.<a href="#TeamMap-__ge__">__ge__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&gt;=y</tt></dd></dl>

<dl><dt><a name="TeamMap-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#TeamMap-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>

<dl><dt><a name="TeamMap-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#TeamMap-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>

<dl><dt><a name="TeamMap-__hash__"><strong>__hash__</strong></a>(...)</dt><dd><tt>x.<a href="#TeamMap-__hash__">__hash__</a>()&nbsp;&lt;==&gt;&nbsp;hash(x)</tt></dd></dl>

<dl><dt><a name="TeamMap-__iter__"><strong>__iter__</strong></a>(...)</dt><dd><tt>x.<a href="#TeamMap-__iter__">__iter__</a>()&nbsp;&lt;==&gt;&nbsp;iter(x)</tt></dd></dl>

<dl><dt><a name="TeamMap-__le__"><strong>__le__</strong></a>(...)</dt><dd><tt>x.<a href="#TeamMap-__le__">__le__</a>(y)&nbsp;&lt;==&gt;&nbsp;x&lt;=y</tt></dd></dl>

<dl><dt><a name="TeamMap-__len__"><strong>__len__</strong></a>(...)</dt><dd><tt>x.<a href="#TeamMap-__len__">__len__</a>()&nbsp;&lt;==&gt;&nbsp;len(x)</tt></dd></dl>

<dl><dt><a name="TeamMap-__ne__"><strong>__ne__</strong></a>(...)</dt><dd><tt>x.<a href="#TeamMap-__ne__">__ne__</a>(y)&nbsp;&lt;==&gt;&nbsp;x!=y</tt></dd></dl>

<dl><dt><a name="TeamMap-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#TeamMap-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>

<dl><dt><a name="TeamMap-__setitem__"><strong>__setitem__</strong></a>(...)</dt><dd><tt>x.<a href="#TeamMap-__setitem__">__setitem__</a>(i,&nbsp;y)&nbsp;&lt;==&gt;&nbsp;x[i]=y</tt></dd></dl>

<dl><dt><a name="TeamMap-clear"><strong>clear</strong></a>(...)</dt><dd><tt>D.<a href="#TeamMap-clear">clear</a>()&nbsp;-&gt;&nbsp;None.&nbsp;&nbsp;Remove&nbsp;all&nbsp;items&nbsp;from&nbsp;D.</tt></dd></dl>

<dl><dt><a name="TeamMap-copy"><strong>copy</strong></a>(...)</dt><dd><tt>D.<a href="#TeamMap-copy">copy</a>()&nbsp;-&gt;&nbsp;a&nbsp;shallow&nbsp;copy&nbsp;of&nbsp;D</tt></dd></dl>

<dl><dt><a name="TeamMap-get"><strong>get</strong></a>(...)</dt><dd><tt>D.<a href="#TeamMap-get">get</a>(k[,d])&nbsp;-&gt;&nbsp;D[k]&nbsp;if&nbsp;k&nbsp;in&nbsp;D,&nbsp;else&nbsp;d.&nbsp;&nbsp;d&nbsp;defaults&nbsp;to&nbsp;None.</tt></dd></dl>

<dl><dt><a name="TeamMap-has_key"><strong>has_key</strong></a>(...)</dt><dd><tt>D.<a href="#TeamMap-has_key">has_key</a>(k)&nbsp;-&gt;&nbsp;True&nbsp;if&nbsp;D&nbsp;has&nbsp;a&nbsp;key&nbsp;k,&nbsp;else&nbsp;False</tt></dd></dl>

<dl><dt><a name="TeamMap-items"><strong>items</strong></a>(...)</dt><dd><tt>D.<a href="#TeamMap-items">items</a>()&nbsp;-&gt;&nbsp;list&nbsp;of&nbsp;D's&nbsp;(key,&nbsp;value)&nbsp;pairs,&nbsp;as&nbsp;2-tuples</tt></dd></dl>

<dl><dt><a name="TeamMap-iteritems"><strong>iteritems</strong></a>(...)</dt><dd><tt>D.<a href="#TeamMap-iteritems">iteritems</a>()&nbsp;-&gt;&nbsp;an&nbsp;iterator&nbsp;over&nbsp;the&nbsp;(key,&nbsp;value)&nbsp;items&nbsp;of&nbsp;D</tt></dd></dl>

<dl><dt><a name="TeamMap-iterkeys"><strong>iterkeys</strong></a>(...)</dt><dd><tt>D.<a href="#TeamMap-iterkeys">iterkeys</a>()&nbsp;-&gt;&nbsp;an&nbsp;iterator&nbsp;over&nbsp;the&nbsp;keys&nbsp;of&nbsp;D</tt></dd></dl>

<dl><dt><a name="TeamMap-itervalues"><strong>itervalues</strong></a>(...)</dt><dd><tt>D.<a href="#TeamMap-itervalues">itervalues</a>()&nbsp;-&gt;&nbsp;an&nbsp;iterator&nbsp;over&nbsp;the&nbsp;values&nbsp;of&nbsp;D</tt></dd></dl>

<dl><dt><a name="TeamMap-keys"><strong>keys</strong></a>(...)</dt><dd><tt>D.<a href="#TeamMap-keys">keys</a>()&nbsp;-&gt;&nbsp;list&nbsp;of&nbsp;D's&nbsp;keys</tt></dd></dl>

<dl><dt><a name="TeamMap-pop"><strong>pop</strong></a>(...)</dt><dd><tt>D.<a href="#TeamMap-pop">pop</a>(k[,d])&nbsp;-&gt;&nbsp;v,&nbsp;remove&nbsp;specified&nbsp;key&nbsp;and&nbsp;return&nbsp;the&nbsp;corresponding&nbsp;value<br>
If&nbsp;key&nbsp;is&nbsp;not&nbsp;found,&nbsp;d&nbsp;is&nbsp;returned&nbsp;if&nbsp;given,&nbsp;otherwise&nbsp;KeyError&nbsp;is&nbsp;raised</tt></dd></dl>

<dl><dt><a name="TeamMap-popitem"><strong>popitem</strong></a>(...)</dt><dd><tt>D.<a href="#TeamMap-popitem">popitem</a>()&nbsp;-&gt;&nbsp;(k,&nbsp;v),&nbsp;remove&nbsp;and&nbsp;return&nbsp;some&nbsp;(key,&nbsp;value)&nbsp;pair&nbsp;as&nbsp;a<br>
2-tuple;&nbsp;but&nbsp;raise&nbsp;KeyError&nbsp;if&nbsp;D&nbsp;is&nbsp;empty</tt></dd></dl>

<dl><dt><a name="TeamMap-setdefault"><strong>setdefault</strong></a>(...)</dt><dd><tt>D.<a href="#TeamMap-setdefault">setdefault</a>(k[,d])&nbsp;-&gt;&nbsp;D.<a href="#TeamMap-get">get</a>(k,d),&nbsp;also&nbsp;set&nbsp;D[k]=d&nbsp;if&nbsp;k&nbsp;not&nbsp;in&nbsp;D</tt></dd></dl>

<dl><dt><a name="TeamMap-update"><strong>update</strong></a>(...)</dt><dd><tt>D.<a href="#TeamMap-update">update</a>(E,&nbsp;**F)&nbsp;-&gt;&nbsp;None.&nbsp;&nbsp;Update&nbsp;D&nbsp;from&nbsp;E&nbsp;and&nbsp;F:&nbsp;for&nbsp;k&nbsp;in&nbsp;E:&nbsp;D[k]&nbsp;=&nbsp;E[k]<br>
(if&nbsp;E&nbsp;has&nbsp;keys&nbsp;else:&nbsp;for&nbsp;(k,&nbsp;v)&nbsp;in&nbsp;E:&nbsp;D[k]&nbsp;=&nbsp;v)&nbsp;then:&nbsp;for&nbsp;k&nbsp;in&nbsp;F:&nbsp;D[k]&nbsp;=&nbsp;F[k]</tt></dd></dl>

<dl><dt><a name="TeamMap-values"><strong>values</strong></a>(...)</dt><dd><tt>D.<a href="#TeamMap-values">values</a>()&nbsp;-&gt;&nbsp;list&nbsp;of&nbsp;D's&nbsp;values</tt></dd></dl>

<hr>
Data and other attributes inherited from <a href="__builtin__.html#dict">__builtin__.dict</a>:<br>
<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object at 0x8146d00&gt;<dd><tt>T.<a href="#TeamMap-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;object&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>

<dl><dt><strong>fromkeys</strong> = &lt;built-in method fromkeys of type object at 0x824fec4&gt;<dd><tt>dict.<a href="#TeamMap-fromkeys">fromkeys</a>(S[,v])&nbsp;-&gt;&nbsp;New&nbsp;dict&nbsp;with&nbsp;keys&nbsp;from&nbsp;S&nbsp;and&nbsp;values&nbsp;equal&nbsp;to&nbsp;v.<br>
v&nbsp;defaults&nbsp;to&nbsp;None.</tt></dl>

</td></tr></table></td></tr></table>
</body></html>